<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<base href="<%=basePath%>"><!-- 相对路径的作用吧 -->
    <title>思创IT网上商城用户登录注册</title> 
<meta name="keywords" content="网站模板下载,网站后台登录模板,后台登录模板HTML,后台模板登录,后台登录模板下载" />
<meta name="description" content="JS代码网提供大量的网站后台模板下载以及手机网站模板下载" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<script type="text/javascript" src="UserAndOrder/jic/js/jquery-1.9.0.min.js"></script>
<script type="text/javascript" src="UserAndOrder/jic/images/login.js"></script>

<link href="UserAndOrder/jic/css/login2.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
	
</script> 
</head>
  
  <body>
    <h1>用户登录<sup>V2017</sup></h1>
<h2 style="margin-left:580px; color: red">${param.type}</h2>
<div class="login" style="margin-top:50px;">
    <div class="header">
        <div class="switch" id="switch"><a class="switch_btn_focus" id="switch_qlogin" href="javascript:void(0);" tabindex="7">&nbsp&nbsp登录</a>
			<a class="switch_btn" id="switch_login" href="javascript:void(0);" tabindex="8">快速注册</a><div class="switch_bottom" id="switch_bottom" style="position: absolute; width: 64px; left: 0px;"></div>
        </div>
    </div>  
      
    <div class="web_qr_login" id="web_qr_login" style="display: block; height: 280px;">    
<!--登录-->
		<div class="web_login" id="web_login">
 			<div class="login-box">
				<div class="login_form">
				<form action="LandServlet" name="loginform" accept-charset="utf-8" id="login_form" class="loginForm" method="post">
					<input type="hidden" name="did" value="0"/>
	               	<input type="hidden" name="to" value="log"/>
	               	
	                <div class="uinArea" id="uinArea">
		                <label class="input-tips" for="u">帐号：</label>
		                <div class="inputOuter" id="uArea">     
		                    <input type="text" id="u" name="username" class="inputstyle"/>
		                </div>
	                </div>
	                
	                <div class="pwdArea" id="pwdArea">
		              	<label class="input-tips" for="p">密码：</label> 
		               	<div class="inputOuter" id="pArea">    
		                    <input type="password" id="p" name="p" class="inputstyle"
		                    onblur="land()"/>    
		                </div>
	                </div>
	                
		            <div class="pwdArea" id="">
		               	<label class="input-tips" for="p">验证码</label> 
	                    <img border=0 src="/eshop/ImageMaskServlet" width="80" height="16" id = "imageMask">
						<a href = "javascript:void(0)" style = "font-size: 13px;margin-left: 5px;" onclick = "myReload()">看不清换一张</a>
	                  	<input type="text" id="y" name="y" class="inputstyle"/>
				        <script type="text/javascript">
					    //用于刷新验证码
						 function myReload(){  
				            document.getElementById("imageMask").src=document.getElementById("imageMask").src+"?nocache="+new Date().getTime();  
				        }  
						</script>
		             </div>   
		                
					 <div style="padding-left:70px;margin-top:20px;">           
						<input type="submit" value="登 录" style="width:150px;" class="button_blue" /> 
					 </div>
					 
	                 <div style="margin-left:150px;padding-left:100px;margin-top:50px;font-size=100pt;">
		                <input type="button" value="忘记密码" style="width:70px;border-bottom:1px border:none" 
		                class="input_beijing " onclick="window.open('http://localhost/eshop/UserAndOrder/findPassword.jsp')"/>   	
	                 </div>
	             </form>
 				</div>
			</div>
		</div>
<!--登录end-->
  </div>
<!--注册-->
    <div class="qlogin" id="qlogin" style="display: none; ">
    	<div class="web_login">
	    	<form action="LoginServlet" name="form2" id="regUser" accept-charset="utf-8"  method="post">
		        <input type="hidden" name="to" value="reg"/>
			    <input type="hidden" name="did" value="0"/>
		        <ul class="reg_form" id="reg-ul">
		        		<div id="userCue" class="cue">快速注册请注意格式</div>
		                <li>
		                    <label for="user"  class="input-tips2">昵称：</label>
		                    <div class="inputOuter2">
		                        <input type="text" id="user" name="user" maxlength="16" class="inputstyle2"  />
		                    </div>
		                </li>
		                <li>
		                <label for="passwd" class="input-tips2">密码：</label>
		                    <div class="inputOuter2">
		                        <input type="password" id="passwd"  name="passwd" maxlength="16" class="inputstyle2"/>
		                    </div>
		                </li>
		                <li>
		                <label for="passwd2" class="input-tips2">确认密码：</label>
		                    <div class="inputOuter2">
		                        <input type="password" id="passwd2" name="" maxlength="16" class="inputstyle2" />
		                    </div>
		                </li>
		                 <li>
		                <label for="qq" class="input-tips2">邮箱：</label>
		                   <div class="inputOuter2">
		                       <input type="text" id="qq" name="qq" maxlength="20" class="inputstyle2"/>
		                   </div>
		               </li> 
		                <li>
		                    <div class="inputArea">
		                        <input type="button" id="reg"  style="margin-top:10px;margin-left:85px;" 
		                        class="button_blue" value="同意协议并注册"/> 
		                        <a href="#" class="zcxy" target="_blank">注册协议</a>
		                    </div>
		                </li><div class="cl"></div>
		            </ul>
	         </form>
    	</div>
    <!--value="请输入正确的邮箱注册" style="font-size:12px ;color:#826B6B;" onclick="value='';focus()" onblur="mail()"-->
    </div>
<!--注册end-->
</div>
<div class="jianyi">*推荐使用ie8或以上版本ie浏览器或Chrome内核浏览器访问本站</div>
  </body>
</html>
